package com.yaorange.nongjt.certificate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.nongjt.common.annotation.Excel;
import com.yaorange.nongjt.common.core.domain.BaseEntity;

/**
 * 打印机序列号对象 njt_serial
 * 
 * @author ruoyi
 * @date 2025-03-03
 */
public class NjtSerial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 使用情况 */
    @Excel(name = "使用情况")
    private String usageStatus;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUsageStatus(String usageStatus) 
    {
        this.usageStatus = usageStatus;
    }

    public String getUsageStatus() 
    {
        return usageStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("type", getType())
            .append("usageStatus", getUsageStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
